{if condition ="strtolower(request()->controller()) == 'mall' && strtolower(request()->action()) == 'vip'"}
<!--用户列表-->
{volist name="dataList" id="vo"}
<tr>
    <td><a href="#">{$key+1}</a></td>
    <td>{$vo.nickname}</td>
    <td><img src="{$vo.headimgurl}" style="width:50px;height:50px;"></td>
    <td>
        {if condition="$vo.sex == 1"}男
        {elseif condition="$vo.sex == 2"/}女
        {else/}未知
        {/if}
    </td>
    <td>{$vo.country}-{$vo.province}-{$vo.city}</td>
    <td>{$vo.subscribe_time|date="Y-m-d H:i",###}</td>
</tr>
{/volist}
{/if}

{if condition ="strtolower(request()->controller()) == 'mall' && strtolower(request()->action()) == 'order'"}
<!--订单列表-->
{volist name="dataList" id="vo"}
<tr>
    <td><a href="#">{$key+1}</a></td>
    <td>{$vo.nickname}</td>
    <td>{$vo.ordernumber}</td>
    <td>{$vo.name}</td>
    <td>{$vo.phone}</td>
    <td>{$vo.people}</td>
    <td>{$vo.price}</td>
    <td>{$vo.createtime|date="Y-m-d H:i",###}</td>
    <td data-pid="{$vo.id}">
        <a href="{:url('Mall/orderdetail',array('id'=>$vo['id']))}">
            <button class="btn btn-primary btn-xs" title="详情"><i class="icon-pencil"></i></button>
        </a>
        <a href="#deal" data-url="{:url('Member/updatefield')}" data-tablename="shuju_order" data-fieldname="ishidden" data-value="1"
           data-text="确定删除吗？删除后将不可恢复">
            <button class="btn btn-danger btn-xs" title="删除"><i class="icon-trash"></i></button>
        </a>
    </td>
</tr>
{/volist}
{/if}